<?php

class blogrollComponents extends sfComponents
{
  public function executeLastLinks(sfWebRequest $request)
  {
    $this->links = Doctrine_Core::getTable('BlogRollLink')->getPublishedLinks();
  }
}